
#ifndef TEST_D_H
#define TEST_D_H

#include <plObject>
#include <plList>
#include "TestA.h"

class TestD : public plObject {

    pl_DECLARE_CLASS;

public:

    TestD();

    virtual ~TestD();

    //Adds a TestA
    void AddA(TestA* test);

    //Get A
    TestA* GetA(int index);

    //Replaces A
    void ReplaceA(int index, TestA* value);

    //Gets the number of A's
    int NumAs();

    //Add a double
    void AddDouble(double value);

    //Gets a double
    double GetDouble(int index);

    //Gets the number of doubles
    int NumDoubles();

        protected:

    plDouble Value;
    plList<plDouble> ListOfDoubles;
    plList<plPointer<TestA> > ListOfPointers;

};

#endif 

